package com.oceansoft.mobile.econsole.modules.expireWarn.persistence;

import com.oceansoft.mobile.econsole.modules.dcn.entity.RespCmd;
import com.oceansoft.mobile.econsole.modules.jlapi.entity.OutQueryServiceInfo;
import com.oceansoft.mobile.econsole.modules.member.entity.WtMember;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName: ExpireWarnMapper
 * Description:
 * Date: 2016/11/7 20:58
 *
 * @author SAM SHO
 * @version V1.0
 */
@Repository
public interface ExpireWarnMapper {

    /**
     * 获取实名认证的有效个人用户
     * @return
     */
    List<WtMember> getEffectiveMember();


    /**
     * OUT表数据查询
     * @param action
     * @param command
     * @return
     */
    List<OutQueryServiceInfo> findOutServiceInfoByCondition(String action, String command);

    /**
     * 获取实名认证的车辆与驾照信息
     * @return
     */
    List<WtMember> getEffectiveVehicleMember();


    OutQueryServiceInfo findOutServiceInfoByRowId(String rowId);

    /**
     * 获取当天需要提醒的数据
     * @param action
     * @return
     */
    List<OutQueryServiceInfo> getTodayExpireData(String action);

}
